home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / LASI35B2.ARJ / LASI2HP.HLP < prev    next >
Text File  |  1991-08-01  |  7KB  |  145 lines

  1.  
  2. Introduction
  3.  
  4.                   LASI Ploting Program for HP-GL Code
  5.  
  6.  
  7.   LASI drawings can be quit large and complex. It is necessary to produce
  8.   large plots to examine drawings for errors, or just for display. LASI
  9.   therefore must be able to produce plots. The most commonly used plotting
  10.   language is Hewlett-Packard's HP-GL (Hewlett-Packard Graphics Language),
  11.   which is used by all H-P and many other makes of plotters. By using the
  12.   LASI2HP.EXE program, LASI drawings can be converted directly into HP-GL,
  13.   either as a file, or as a direct drive for a plotter from one of the
  14.   personal computer's serial ports.
  15.  
  16.  
  17. Configuring
  18.  
  19.   Before you run LASI2HP on anything you must make a configuration data
  20.   file. Run "lasi2hp" and answer "y" to the Configure (y or n) prompt.
  21.  
  22.   The program stores plotting configurations in ".PCF" files. The title of
  23.   a configuration must conform to DOS file naming rules. These files remain
  24.   in the drawing directory.
  25.  
  26.   Some of the questions asked will be defaulted from the program
  27.   initialization or the previous configuration file. Hitting <enter> to any
  28.   question will default to the value show in parentheses. Otherwise enter
  29.   the new value.
  30.  
  31.   Some of the questions will be obvious and some maybe need explanation:
  32.  
  33.   1.  Configuration will ask if your plotter has a center or lower-left
  34.   (bottom-left) hardware origin. Most small plotters have a lower-left
  35.   origin, while larger plotters use a center origin. See your plotter
  36.   manual for this information.
  37.  
  38.   2.  The borders that you must specify are the distance at the edges of a
  39.   sheet of paper that the plotter can't use, i.e. roller track, etc. See
  40.   your plotter manual for this distance. The size of your paper less these
  41.   borders is the useful size of your paper.
  42.  
  43.   3.  You can set the location and size of the plotting area on the paper
  44.   by specifying the left, bottom, right and top edges. You can use this to
  45.   make multiple drawings on a single sheet of paper.
  46.  
  47.   4.  If you use hardwired handshaking to keep the plotter buffer from
  48.   being overflowed by plotting data, you will be asked if you want to use
  49.   the DSR (data set ready) line or the CTS (clear to send) line to detect
  50.   that the plotter buffer is full. On an AT type of PC these lines are pins
  51.   6 and 8 respectively on a 9-pin serial port. The Hewlett-Packard plotters
  52.   normally indicate a full buffer by dropping the DTR (pin 20 on the 25-pin
  53.   RS-232 connector) line. This line can be connected to either CTS or DSR,
  54.   but DSR is preferred.
  55.  
  56.   5.  LASI2HP will ask you if you want to use your plotter's polygon mode
  57.   commands. These are the commands PM, EP and FP which are available on the
  58.   better plotters (see your plotter manual). These commands allow you to
  59.   fill closed polygon outlines. If this mode is used paths will be expanded
  60.   into a closed polygon outline.
  61.  
  62.   6.  If you want to have paths standout in the drawing answer that you
  63.   want path center lines drawn. Paths will be drawn with a dashed line
  64.   along their center.
  65.  
  66.   7.  LASI2HP will draw any cells that are displayed in LASI Cell Mode as
  67.   an outline either in outline or in full detail. The configuration may set
  68.   to always draw fully if desired. You may also set the pen to be used for
  69.   outlines.
  70.  
  71.   8.  Each layer has three attributes, Pen, Line and Fill. You may assign
  72.   attributes randomly, by giving a layer number 1 to 32 to the "Layer?"
  73.   question. Hitting <enter> only will end the assignment process.
  74.  
  75.   9.  When assigning pens to layers note that you may enter up to 8
  76.   different pens. Your plotter might not support that many, so assign them
  77.   accordingly.
  78.  
  79.   10.  You may assign different line types to make dashed lines. The types
  80.   are numbered 0-6 and correspond to the line types described in the H-P
  81.   plotter manual that comes with an H-P plotter. If a line is to be drawn
  82.   solid, set the layer by pressing only <enter>.  A dash "-" will indicate
  83.   a solid line on that layer.
  84.  
  85.   11.  You may set the fill type attribute to be used on a layer. These
  86.   presently are left crosshatch, right crosshatch, horizontal, vertical and
  87.   nothing (indicated by "L","R","H","V" and "-"). Boxes will always be
  88.   filled, but you must use the plotter's polygon mode to fill polygon
  89.   outlines.
  90.  
  91.   12.  If a layer has had its Fill set as above, and a line type has also
  92.   been set, the line type is used as the fill line type. The outline of a
  93.   filled area is drawn solid and not with the line type set for that layer.
  94.   The spacing of the dashes and fill lines will be calculated from the fill
  95.   spacing configuration parameter.
  96.  
  97.   13.  After you are satisfied with the configuration, you may store it
  98.   with the same title or any other title. You can save time by copying
  99.   configurations, make changes, and then storing under a new title.
  100.  
  101.  
  102. Running LASI2HP.EXE
  103.  
  104.   LASI2HP.EXE reads .BPV and .CEL internal files in the local drawing
  105.   directory.
  106.  
  107.   You must be logged into the drawing directory of the cell to be plotted.
  108.  
  109.   To drive a plotter directly, the plotter must be connected to one of the
  110.   computer's serial ports, COM1, COM2, COM3 or COM4.
  111.  
  112.  
  113.   There are 3 ways to run LASI2HP:
  114.  
  115.   1.  Run by typing "lasi2hp" which allows you to configure and then run a
  116.   plot, or to simply make configuration files.
  117.  
  118.   2.  Run by typing (or batch filing) "lasi2hp name", where "name" is the
  119.   cell that you want to plot. In this case configuration must be done
  120.   previously, and the plot will be fitted to the full size of the cell.
  121.  
  122.   3.  Run by typing "lasi2hp name x-center y-center width". This is how
  123.   LASI passes the particular window to be plotted when the PLOT button is
  124.   pushed in the System Mode menu.
  125.  
  126.  
  127.   In each case you will be asked for the configuration title and whether
  128.   your plotter or disk is ready.
  129.  
  130.   When making a plotting file you may specify a name, path or disk for the
  131.   output file. Entering nothing makes a file with the plotted cell's name
  132.   in the local drawing directory.
  133.  
  134.  
  135. Other Uses
  136.  
  137.   The plot file that LASI2HP makes is in HP-GL language. This can be
  138.   changed to other formats using a converter such as HIJAAK. It can also be
  139.   converted directly by WordPerfect 5.1 and other desktop publishers into
  140.   drawings that can be inserted into WordPerfect (or other DTP) written
  141.   text. Drawings made by LASI can therefore be placed directly into
  142.   reports, theses, dissertations, etc. that are written using common
  143.   wordprocessors that can do graphics converted from HP-GL.
  144.  
  145.